<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" epub:prefix="z3998: http://www.daisy.org/z3998/2012/vocab/structure/, se: https://standardebooks.org/vocab/1.0" xml:lang="en-US">
	<head>
		<title>A Dreary Story</title>
		<link href="../css/core.css" rel="stylesheet" type="text/css"/>
		<link href="../css/local.css" rel="stylesheet" type="text/css"/>
	</head>
	<body epub:type="bodymatter z3998:fiction">
		<section id="chapter-1" epub:type="chapter">
			<h2 epub:type="title">A Dreary Story</h2>
			<!-- should get tag(s) -->
			<p><abbr epub:type="z3998:name-title">Mr.</abbr> Smith was somewhat, <abbr>etc.</abbr>, concerned.</p>
			<p>What to do, <abbr epub:type="z3998:initialism">i.e.</abbr> what to do.</p>
			<p>What to do, <abbr epub:type="z3998:initialism">e.g.</abbr> what to do.</p>
			<p>The picture was almost <abbr epub:type="z3998:initialism">3D</abbr>.</p>
			<p><abbr epub:type="z3998:initialism">P.S.</abbr> What now?</p>
			<p>What to do, <abbr epub:type="z3998:initialism">N.B.</abbr> what to do.</p>
			<p>What to do, <abbr epub:type="z3998:initialism">N.B.</abbr> what to do.</p>
			<p>What to do, <abbr epub:type="z3998:initialism">N.B.</abbr>, what to do.</p>
			<p>What to do, <abbr epub:type="z3998:initialism">N.B.</abbr>, what to do.</p>
			<p>I gave an IOU to John.</p>
			<p>I gave an <abbr epub:type="z3998:initialism">I.O.U.</abbr> to John.</p>
			<p>I gave a <abbr epub:type="z3998:initialism">TV</abbr> to John.</p>
			<p>I gave a <abbr epub:type="z3998:initialism">TV</abbr> to John.</p>
			<p>You wouldn’t want a <abbr epub:type="z3998:initialism">TV</abbr>, would you?</p>
			<p>You wouldn’t want a <abbr epub:type="z3998:initialism">TV</abbr>, would you?</p>
			<p><abbr epub:type="z3998:initialism">TV</abbr> is a vast wasteland.</p>
			<p><abbr epub:type="z3998:initialism">TV</abbr> is a vast wasteland.</p>
			<p>John gave me a <abbr epub:type="z3998:initialism">TV</abbr>.</p>
			<p>John gave me a <abbr epub:type="z3998:initialism">TV</abbr>.</p>
			<p>“John gave me a <abbr epub:type="z3998:initialism">TV</abbr>.”</p>
			<p>“ ‘John gave me a <abbr epub:type="z3998:initialism">TV</abbr>.’</p>
			<p><abbr epub:type="se:era">AD</abbr> 123 was a memorable year.</p>
			<p><abbr epub:type="se:era">AD</abbr> 123 was a memorable year.</p>
			<p><abbr epub:type="se:era">BC</abbr> 123 was a memorable year.</p>
			<p><abbr epub:type="se:era">BC</abbr> 123 was a memorable year.</p>
			<p>The year 123 <abbr epub:type="se:era">AD</abbr> was memorable.</p>
			<p>The year 123 <abbr epub:type="se:era">AD</abbr> was memorable.</p>
			<p>The year 123 <abbr epub:type="se:era">AD</abbr>. was memorable.</p>
			<p>The year 987 <abbr epub:type="se:era">BC</abbr> was memorable.</p>
			<p>The year 987 <abbr epub:type="se:era">BC</abbr> was memorable.</p>
			<p>The year 987 <abbr epub:type="se:era">BC</abbr>. was memorable.</p>
			<p>It happened in the year 123 <abbr epub:type="se:era">AD</abbr>.</p>
			<p>It happened in the year 123 <abbr epub:type="se:era">AD</abbr>.</p>
			<p>It happened in the year 987 <abbr epub:type="se:era">BC</abbr>.</p>
			<p>It happened in the year 987 <abbr epub:type="se:era">BC</abbr>.</p>
			<p>She said, “It happened in the year 987 <abbr epub:type="se:era">BC</abbr>.”</p>
			<p>It happened in the year 987 <abbr epub:type="se:era">BC</abbr>. Then again the next year.</p>
			<p>It happened in the year 987 <abbr epub:type="se:era">BC</abbr>. “What next?”</p>
			<p>At around 3 <abbr>a.m.</abbr> she woke up.</p>
			<p>At around 3 <abbr>a.m.</abbr> she woke up.</p>
			<p>At around 3 <abbr>a.m.</abbr> she woke up.</p>
			<p>At around 11 <abbr>p.m.</abbr> she went to sleep.</p>
			<p>At around 11 <abbr>p.m.</abbr> she went to sleep.</p>
			<p>At around three <abbr>a.m.</abbr> she woke up.</p>
			<p>At around three <abbr>a.m.</abbr> she woke up.</p>
			<p>At around three <abbr>a.m.</abbr> she woke up.</p>
			<p>At around eleven <abbr>p.m.</abbr> she went to sleep.</p>
			<p>At around eleven <abbr>p.m.</abbr> she went to sleep.</p>
			<p>At around 3 <abbr>a.m.</abbr> she woke up.</p>
			<p>At around 3 <abbr>a.m.</abbr> she woke up.</p>
			<p>At around 11 <abbr>p.m.</abbr> she went to sleep.</p>
			<p>At around 11 <abbr>p.m.</abbr> she went to sleep.</p>
			<p>At around 3 <abbr>a.m.</abbr> she woke up.</p>
			<p>At around 3 <abbr>a.m.</abbr> she woke up.</p>
			<p>At around 11 <abbr>p.m.</abbr> she went to sleep.</p>
			<p>At around 11 <abbr>p.m.</abbr> she went to sleep.</p>
			<!-- should get tag and eoc -->
			<p>What to do, <abbr class="eoc" epub:type="z3998:initialism">i.e.</abbr></p>
			<p>What to do, <abbr class="eoc" epub:type="z3998:initialism">e.g.</abbr></p>
			<p>I spoke with John Smith, <abbr class="eoc" epub:type="z3998:name-title">Ph. D.</abbr></p>
			<p>“I spoke with John Smith, <abbr class="eoc" epub:type="z3998:name-title">Ph. D.</abbr>”</p>
			<p><abbr epub:type="z3998:name-title">Mr.</abbr> Smith was extremely concerned, <abbr class="eoc">etc.</abbr></p>
			<p>“John was concerned, <abbr class="eoc">etc.</abbr>”</p>
			<p>“John said, ‘I was concerned, <abbr class="eoc">etc.</abbr>’</p>
			<p>“I was concerned, <abbr class="eoc">etc.</abbr>” So I proceeded as planned.</p>
			<p>“John said, ‘I was concerned, <abbr class="eoc">etc.</abbr>’ So I proceeded as planned.</p>
			<p>I was concerned, <abbr class="eoc">etc.</abbr> So I proceeded as planned.</p>
			<p>“I was concerned, <abbr class="eoc">etc.</abbr>” “What did you do?”</p>
			<p>“John said, ‘I was concerned, <abbr class="eoc">etc.</abbr>’ ‘Will this ever happen?’</p>
			<p>I said I was concerned, <abbr class="eoc">etc.</abbr> “But what happened?”</p>
			<p>His name was abbreviated <abbr class="eoc" epub:type="z3998:given-name">Chas.</abbr></p>
			<p>I gave him an <abbr class="eoc" epub:type="z3998:initialism">I.O.U.</abbr></p>
			<p>I gave him an <abbr class="eoc" epub:type="z3998:initialism">I.O.U.</abbr></p>
			<p>“I gave him an <abbr class="eoc" epub:type="z3998:initialism">I.O.U.</abbr>”</p>
			<p>“I gave him an <abbr class="eoc" epub:type="z3998:initialism">I.O.U.</abbr>”</p>
			<p>I gave him an <abbr class="eoc" epub:type="z3998:initialism">N.B.</abbr></p>
			<p>I gave him an <abbr class="eoc" epub:type="z3998:initialism">N.B.</abbr></p>
			<p>“ ‘I gave him an <abbr class="eoc" epub:type="z3998:initialism">N.B.</abbr>’</p>
			<p>“ ‘I gave him an <abbr class="eoc" epub:type="z3998:initialism">N.B.</abbr>’</p>
			<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
			<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
			<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
			<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
			<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
			<p>She woke up around three <abbr class="eoc">a.m.</abbr></p>
			<p>She went to sleep around 11 <abbr class="eoc">p.m.</abbr></p>
			<p>She went to sleep around 11 <abbr class="eoc">p.m.</abbr></p>
			<p>She went to sleep around 11 <abbr class="eoc">p.m.</abbr></p>
			<p>She went to sleep around 11 <abbr class="eoc">p.m.</abbr></p>
			<p>She went to sleep around 11 <abbr class="eoc">p.m.</abbr></p>
			<p>She went to sleep around eleven <abbr class="eoc">p.m.</abbr></p>
			<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
			<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
			<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
			<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
			<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
			<p>She went to sleep around 11 <abbr class="eoc">p.m.</abbr></p>
			<p>She went to sleep around 11 <abbr class="eoc">p.m.</abbr></p>
			<p>She went to sleep around 11 <abbr class="eoc">p.m.</abbr></p>
			<p>She went to sleep around 11 <abbr class="eoc">p.m.</abbr></p>
			<p>She went to sleep around 11 <abbr class="eoc">p.m.</abbr></p>
			<!-- should not get tag -->
			<p>John got an ATV for his birthday.</p>
			<p>John got an A.T.<span epub:type="z3998:roman">V</span>. for his birthday.</p>
			<p>John was ADVANCED in age.</p>
			<p>ADVANCED is not an acronym.</p>
			<p>P.S.S.T. echoed through the room.</p>
			<p>John worked for U.P.S. on the weekend.</p>
			<p>John worked for U.P.P.S. on the weekend.</p>
			<p>John worked for U.P.P. on the weekend.</p>
			<p>John worked for P.P.S.T. on the weekend.</p>
			<p>John worked for U.P.P.S. on the weekend.</p>
			<!-- has tag, should get eoc -->
			<p>What to do, <abbr class="eoc">i.e.</abbr></p>
			<p>“What to do, <abbr class="eoc">i.e.</abbr>”</p>
			<p>It was the upper echelons of <abbr class="eoc" epub:type="z3998:initialism">U.P.</abbr></p>
			<p>“ ‘It was the upper echelons of <abbr class="eoc" epub:type="z3998:initialism">U.P.</abbr>’</p>
			<p>What to do, <abbr class="eoc" epub:type="z3998:initialism">N.B.</abbr></p>
			<p>I gave him an <abbr class="eoc" epub:type="z3998:initialism">I.O.U.</abbr></p>
			<p>“I gave him an <abbr class="eoc" epub:type="z3998:initialism">I.O.U.</abbr>”</p>
			<p>I spoke with John Smith, <abbr class="eoc" epub:type="z3998:name-title">Ph. D.</abbr></p>
			<p>I spoke with ‘John Smith, <abbr class="eoc" epub:type="z3998:name-title">Ph. D.</abbr>’</p>
			<p>His name was abbreviated <abbr class="eoc" epub:type="z3998:given-name">Chas.</abbr></p>
			<p>“His name was abbreviated <abbr class="eoc" epub:type="z3998:given-name">Chas.</abbr>”</p>
			<p>“He said, ‘His name was abbreviated <abbr class="eoc" epub:type="z3998:given-name">Chas.</abbr>’</p>
			<p>They were friends of the <abbr class="eoc" epub:type="z3998:initialism">A.B.C.</abbr></p>
			<!-- should be left alone -->
			<p><abbr epub:type="z3998:name-title">Mr.</abbr> Smith was extremely concerned, <abbr class="eoc">etc.</abbr></p>
			<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
			<!-- tag non-qualifying, should be left alone -->
			<p>He died lamented, <abbr epub:type="se:era">A.D.</abbr> 1701.</p>
			<p epub:type="z3998:postscript"><abbr epub:type="z3998:initialism">P.S.</abbr> Let me have news of your brother and his charming little wife.</p>
			<p>What to do, <abbr epub:type="z3998:initialism">i.e.</abbr> what to do.</p>
			<p>What to do, <abbr epub:type="z3998:initialism">e.g.</abbr> what to do.</p>
			<p>The picture was almost <abbr epub:type="z3998:initialism">3D</abbr>.</p>
			<p>It happened in the year 123 <abbr epub:type="se:era">AD</abbr>.</p>
			<p>It happened in the year 987 <abbr epub:type="se:era">BC</abbr>.</p>
			<p>At around 3 <abbr>a.m.</abbr> she woke up.</p>
			<p>At around 11 <abbr>p.m.</abbr> she went to sleep.</p>
			<!-- eoc then epubtype, should be left alone -->
			<p>What to do, <abbr class="eoc" epub:type="z3998:initialism">i.e.</abbr></p>
			<p>What to do now, <abbr class="eoc" epub:type="z3998:initialism">e.g.</abbr></p>
			<p>It was the upper echelons of <abbr class="eoc" epub:type="z3998:initialism">U.P.</abbr></p>
			<p>What to do, <abbr class="eoc" epub:type="z3998:initialism">N.B.</abbr></p>
			<p>I spoke with John Smith, <abbr class="eoc" epub:type="z3998:name-title">Ph. D.</abbr></p>
			<p>I gave him an <abbr class="eoc" epub:type="z3998:initialism">I.O.U.</abbr></p>
			<p>The picture was almost <abbr class="eoc" epub:type="z3998:initialism">3D</abbr>.</p>
			<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
			<p>She went to sleep around 11 <abbr class="eoc">p.m.</abbr></p>
			<p>His name was abbreviated <abbr class="eoc" epub:type="z3998:given-name">Chas.</abbr></p>
			<!-- epubtype then eoc, should be left alone -->
			<p>What to do, <abbr class="eoc" epub:type="z3998:initialism">i.e.</abbr></p>
			<p>What to do, <abbr class="eoc" epub:type="z3998:initialism">e.g.</abbr></p>
			<p>It was the upper echelons of <abbr class="eoc" epub:type="z3998:initialism">U.P.</abbr></p>
			<p>What to do, <abbr class="eoc" epub:type="z3998:initialism">N.B.</abbr></p>
			<p>I spoke with John Smith, <abbr class="eoc" epub:type="z3998:name-title">Ph. D.</abbr></p>
			<p>I gave him an <abbr class="eoc" epub:type="z3998:initialism">I.O.U.</abbr></p>
			<p>The picture was almost <abbr class="eoc" epub:type="z3998:initialism">3D</abbr>.</p>
			<p>His name was abbreviated <abbr class="eoc" epub:type="z3998:given-name">Chas.</abbr></p>
			<!-- ROMAN NUMERAL TESTS -->
			<!-- SHOULD BE TAGGED -->
			<!-- The lowercased roman 1 should be tagged. -->
			<p>Standalone lowercase <span epub:type="z3998:roman">i</span> is tagged (although should it be?).</p>
			<!-- The `appendix-i` should not be tagged, but the standalone one should. -->
			<p>See <a href="appendix-i.xhtml">Appendix <span epub:type="z3998:roman">i</span></a> .</p>
			<!-- The roman 10 should be tagged. -->
			<p>Charles <span epub:type="z3998:roman">X</span> was a good one.</p>
			<!-- The roman 16 should be tagged. -->
			<p>Who was Louis <span epub:type="z3998:roman">XVI</span>?</p>
			<!-- The roman 1999 should be tagged. -->
			<p>The year is <span epub:type="z3998:roman">MCMXCIX</span>, the month is June.</p>
			<!-- The roman 4888 should be tagged. -->
			<p>How large a number is <span epub:type="z3998:roman">MMMMDCCCLXXXVIII</span>?</p>
			<!-- The roman number 5 should be tagged -->
			<p>The book <i epub:type="se:name.publication.book">Charles <span epub:type="z3998:roman">V</span></i> is about who you would expect it to be.</p>
			<!-- Small roman ordinals are tagged, even though we don't allow ordinals on roman numerals -->
			<p>His birthday was July <span epub:type="z3998:roman">XXI</span>st.</p>
			<p>Go away or I will taunt you a <span epub:type="z3998:roman">ii</span>nd time.</p>
			<p>It was the <span epub:type="z3998:roman">iii</span>rd time this month.</p>
			<p>Louis <span epub:type="z3998:roman">XVI</span>th did not end well.</p>
			<!-- All three of the examples should be tagged; the two standalone letters should not. -->
			<p>J can be used for I as the last character only, for example LXVJ, VIIj, or <span epub:type="z3998:roman">iiij</span>.</p>
			<!-- SHOULD NOT BE TAGGED -->
			<!-- The existing tag should be left alone, `I` in `I was not` should not be tagged. -->
			<p>Charles <span epub:type="z3998:roman">I</span> was a bad king, I was not.</p>
			<!-- Nothing on this line should be tagged (trailing apostrophe). -->
			<p>Roman numerals preceding an apostrophe are not tagged, such as V’s and l’histoire.</p>
			<!-- The vix, although consisting of all valid roman characters, is not a valid roman
			numeral and so should not be tagged. -->
			<p>Intra, si credere libet, vix homines magisque semiferi.</p>
			<!-- Similarly `Cil` should not be tagged. -->
			<p>My friends Cil and Cleo met me for coffee.</p>
			<!-- The leading roman 10 in `X-ray` should not be tagged. -->
			<p>Do you need an X-ray, do you think?</p>
			<!-- Neither `LXVJI` nor `vijii` should be tagged. -->
			<p>J must be the last character, so these are invalid: LXVJI, vijii.</p>
			<!-- Although `di` and `mix` are valid roman numerals, they should not be tagged
			as they are more likely to be valid words, Italian and English respectively. -->
			<p>The words di and mix, though valid roman numerals, should not be tagged.</p>
			<!-- Nothing here should be tagged (ensures no stray ordinal suffixes are tagged). -->
			<p>The 20th entry is ⅓rd of the total.</p>
			<ol>
				<!-- This element is a valid roman 51, but should not be tagged as roman. -->
				<li>
					<p>The above tag is a valid roman numeral, so must be excluded</p>
				</li>
			</ol>
			<!-- MathML tag must be excluded -->
			<p>
				<m:math alttext="n">
					<m:mi>n</m:mi>
				</m:math>
			</p>
			<!--Lowercase `i` followed by hyphen minus or non-breaking hyphen should not be tagged-->
			<p>The initial letter in the string `i-dont-know-why` should not be tagged as a roman numeral, nor should the initial letter in the string `i‑it`.</p>
		</section>
	</body>
</html>
